package com.isaac.actm.util;

import com.isaac.actm.domain.pojo.User;

/**
 * @author ybak
 * 
 */
public final class PojoInstanceFactory {

    private PojoInstanceFactory() {
    }

    public static final long USER_ID = 123L;

    public static User createPersistentUser() {
        User user = new User();
        user.setId(USER_ID);
        user.setName("ybak");
        user.setPassword("520811");
        user.setConfirmPassword("520811");
        return user;
    }

    public static User createTransientUser() {
        User user = new User();
        user.setName("ybak");
        user.setPassword("520811");
        user.setConfirmPassword("520811");
        return user;
    }
}
